package com.frejoys.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("j_store_code_batch")
public class StoreCodeBatch {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    //用户id
    private Long  userId;

    //批次码
    private String batchCode;

    //数量
    private Integer num;

    //生成时间
    private Integer updateTime;

    //创建时间
    private Integer createTime;

    //状态：0待生成，1已生成
    private Integer status;
}
